package com.xez.util
{
	import com.xez.fs.FsExtension;
	import com.xez.views.DirView;
	import com.xez.views.ImageView;
	import com.xez.views.MainView;
	import com.xez.views.RegisterView;
	import com.xez.views.SecureView;
	import com.xez.views.SetView;
	import com.xez.views.UpdateView;
	import com.xez.views.UserView;
	import com.xez.views.WebView;
	
	import flash.system.Capabilities;

	public class ViewUtil
	{
		public function ViewUtil()
		{
		}
		
		public static var mainView:MainView;
		
		public static var webView:WebView;
		
		public static var dirView:DirView;
		
		public static var imageView:ImageView;
		
		public static var setView:SetView;
		
		public static var updateView:UpdateView;
		
		public static var secureView:SecureView;
		
		public static var userView:UserView;
		
		public static var registerView:RegisterView;
		
		private static var fs:FsExtension = new FsExtension();
		
		public static function tipLong(msg:String):void
		{
			if (!Capabilities.isDebugger)
				fs.tipLong(msg);
		}
		
		public static function tipShort(msg:String):void
		{
			if (!Capabilities.isDebugger)
				fs.tipShort(msg);
		}
	}
}